Skip to content

Fix otlphttp endpoint in docs #897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dawhalen
Copy link

The otlphttp endpoint described in the docs here is incorrect, if you attempt to use an OTEL Collector with this endpoint, you'll get this error from your collector:
2025-07-10T13:44:01.837Z error internal/queue_sender.go:103 Exporting failed. Dropping data. {"kind": "exporter", "data_type": "traces", "name": "otlphttp/langsmith", "error": "not retryable error: Permanent error: rpc error: code = Unimplemented desc = error exporting items, request to [https://api.smith.langchain.com:443/otel/v1/traces/v1/traces](https://api.smith.langchain.com/otel/v1/traces/v1/traces) responded with HTTP Status Code 404", "dropped_items": 1}

The collector automatically adds the /v1/traces for you, so it should not be included in the collector's endpoint config.

Fix otlphttp endpoint
Copy link

vercel bot commented Jul 10, 2025

@dawhalen is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant